#ifndef __DRI_SHT20_H__
#define __DRI_SHT20_H__
#include <stm32f4xx.h>
typedef struct
{
	uint8_t tem_h;
	uint8_t tem_l;
	uint8_t hum_h;
	uint8_t hum_l;
	float tem;
	float hum;
}sht20_val;
void dri_sht20_init(void);
uint16_t dri_sht20_read_T(void);
uint16_t dri_sht20_read_H(void);
uint8_t dri_sht20_reset(void);


double dri_sht20_getdata_T(void);
double dri_sht20_getdata_H(void);
void dri_dispaly_T(void);
void dri_dispaly_H(void);
#endif //__DRV_SHT20_H__

